package com.arcvideo.acsconnect.rest.model;

/**
 * @author shenmengchao
 * @version 1.0.0
 * @date 2017/11/7
 * @description
 */

public class ResultBean<T> {


    /**
     * code : 0
     * message : ok
     * result : null
     * count : 1
     */

    private int code;
    private String message;
    private boolean success;
    private T result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }
}
